package lab02;

import javax.management.relation.Role;

public class Golem implements RolesCharacter{
    static final String RoleName = "大猪佩奇";
    static final int BossAttack = Boss_attack;
    static int GolemHP = RolesCharacter.Boss_HP;



    @Override
    public void ATTACK() {
//    创建人物对象
        Zelos ZR = new Zelos();
        System.out.println(RoleName+":小猪慢拱"+ GolemHP);
        ZR.Injure(BossAttack);
        System.out.println("伤害"+ BossAttack);
    }

    @Override
    public void Move() {
        System.out.println("左右横跳,曲线移动");
    }

    @Override
    public void AddHP() {
        GolemHP += 20;
    }

    @Override
    public void Injure(int ComingAttack) {
//        受到伤害
        this.GolemHP -= ComingAttack;
    }


}